package com.example.drug.domain;

import java.util.Date;

/**
 * 库存实体类
 *
 * @author [你的名字]
 * @date [具体日期]
 */
public class Inventory {

    private Long inventoryId;
    private Long drugId;
    private Integer currentStock;
    private Date lastUpdateTime;
    private Long warehouseId;
    private Integer stockWarningThreshold;

    // 以下是各属性的Getter和Setter方法

    public Long getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(Long inventoryId) {
        this.inventoryId = inventoryId;
    }

    public Long getDrugId() {
        return drugId;
    }

    public void setDrugId(Long drugId) {
        this.drugId = drugId;
    }

    public Integer getCurrentStock() {
        return currentStock;
    }

    public void setCurrentStock(Integer currentStock) {
        this.currentStock = currentStock;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Integer getStockWarningThreshold() {
        return stockWarningThreshold;
    }

    public void setStockWarningThreshold(Integer stockWarningThreshold) {
        this.stockWarningThreshold = stockWarningThreshold;
    }
}